﻿using EM.OA.DataModel.DBModel;
using EM.OA.WebCommon.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Web;
namespace EM.OA.Portal.Models
{
    public class WFFlowConfigModels : BaseViewModel
    {
        /// <summary>
        /// ID
        /// </summary>		
        [Display(Name = "ID")]
        public Guid? FlowConfigID { get; set; }
        /// <summary>
        /// 流程名称
        /// </summary>		
        [Display(Name = "流程名称")]
        public string FlowConfigName { get; set; }
        /// <summary>
        /// 流程分类
        /// </summary>		
        [Display(Name = "流程分类")]
        public Guid FlowKind { get; set; }

        public string FlowKindName
        {
            get;
            set;
            //{
            //    EMOA_Dictionary dic = new EMOA_Dictionary();
            //    dic = new EM.OA.BLL.DictionaryBLL().GetEntity(FlowKind);
            //    return object.Equals(dic, null) ? string.Empty : dic.DictionaryName;
            //}
        }

        /// 步骤级别
        /// </summary>		
        [Display(Name = "步骤级别")]
        public int? StepLevel { get; set; }
        /// <summary>
        /// 步骤名称
        /// </summary>		
        [Display(Name = "步骤名称")]
        public string StepName { get; set; }
        /// <summary>
        /// 审批人
        /// </summary>		
        [Display(Name = "审批人")]
        public Guid? ApprovalUserID { get; set; }
        /// <summary>
        /// 如果角色下有两个人，只走第一个人
        /// </summary>		
        [Display(Name = "如果角色下有两个人，只走第一个人")]
        public Guid? ApprovalRoleID { get; set; }
        /// <summary>
        /// 抄送人
        /// </summary>		
        [Display(Name = "抄送人")]
        public string CCUserIDs { get; set; }
        /// <summary>
        /// 抄送部门
        /// </summary>		
        [Display(Name = "抄送部门")]
        public string CCDepartmentIDs { get; set; }

    }
}